package io.renren.modules.pay.service;

import java.util.Map;

import io.renren.common.service.CrudService;
import io.renren.common.utils.Result;
import io.renren.modules.pay.dto.GoogleauthDTO;
import io.renren.modules.pay.entity.GoogleauthEntity;

/**
 * 谷歌验证
 *
 * @author ms 
 * @since 1.0.0 2019-06-24
 */
public interface GoogleauthService extends CrudService<GoogleauthEntity, GoogleauthDTO> {

	Result<Object> createGoogleAuthQRCodeData(String issuer);

	Result<Object> verify(Map<String, Object> params);

    GoogleauthEntity selectByUserId(Long id);
}